import request from '@/utils/request'

// 新建合同回款信息列表
export function answerLists(params?: Record<string, any>) {
    return request.get({ url: '/answer/list', params })
}

// 新建合同回款信息详情
export function answerDetail(params: Record<string, any>) {
    return request.get({ url: '/answer/detail', params })
}

// 新建合同回款信息新增
export function answerAdd(params: Record<string, any>) {
    return request.post({ url: '/answer/add', params })
}

// 新建合同回款信息编辑
export function answerEdit(params: Record<string, any>) {
    return request.post({ url: '/answer/edit', params })
}

// 新建合同回款信息删除
export function answerDelete(params: Record<string, any>) {
    return request.post({ url: '/answer/del', params })
}
